package com.shinewind.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@ApiModel(description = "Model实体类")
public class Model implements Serializable {
  @TableId(type = IdType.ASSIGN_UUID)
  @ApiModelProperty(value = "模型id")
  private String mId;
  @ApiModelProperty(value = "模型标题")
  private String title;
  @ApiModelProperty(value = "模型图片地址")
  private String src;
  @ApiModelProperty(value = "模型跳转链接")
  private String href;
  @ApiModelProperty(value = "模型价格")
  private Double price;
  @ApiModelProperty(value = "模型品牌id",example = "和cp_brand表相关联")
  private Integer bId;
  @ApiModelProperty(value = "模型类型")
  private String type;
  @ApiModelProperty(value = "模型信息")
  private String info;
  @ApiModelProperty(value = "模型商品标题")
  private String goodsName;
  @ApiModelProperty(value = "模型类别id")
  private Long typeId;
}